package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Ordersettinglist;

import java.util.List;

public interface OrdersettinglistService {
    //预约列表分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);
    //新增预约
    public Result add(Ordersettinglist ordersettinglist, Integer setmealId) throws Exception;
    //删除预约
    public void deleteById(Integer id);
    //批量删除
    public void deleteAll(List<Ordersettinglist> list);

}
